package com.lumlord.mapper.auto;

 
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 自动代码生成 AutoCodeMapper
 * @author gpf_自动生成
 * @email 372138617@qq.com
 * @date 2019-09-19 17:40:04
 */
public interface AutoCodeMapper {
      	      	   	      	   	      	   	      	   	      	   	      	   	      
    long countByExample(AutoCodeExample example);

    int deleteByExample(AutoCodeExample example);
		
	/**
	* 逻辑删除
	**/
	int del(Integer[] ids);
	 
    int deleteByPrimaryKey(@Param("id")Integer id);
		
    int insert(AutoCode record);

    int insertSelective(AutoCode record);

    List<AutoCode> selectByExample(AutoCodeExample example);
		
    AutoCode selectByPrimaryKey(@Param("id")Integer id);
		
    int updateByExampleSelective(@Param("record") AutoCode record, @Param("example") AutoCodeExample example);

    int updateByExample(@Param("record") AutoCode record, @Param("example") AutoCodeExample example); 
		
    int updateByPrimaryKeySelective(AutoCode record);

    int updateByPrimaryKey(AutoCode record);
    
    int batchInsert(List<AutoCode> records);
  	}